<% layout("/common/layout.html",{"title":"节假日数据"}){ %>
<div class="row wrapper border-bottom white-bg page-heading">
    <div class="col-sm-8">
        <h2>节假日数据</h2>
        <ol class="breadcrumb">
            <li><a href="${ctxPath}/admin/main">主页</a></li>
            <li>节假日数据</li>
        </ol>
    </div>
    <div class="col-sm-2 pull-right">
        <div class="title-action">
        </div>
    </div>
</div>


<div class="wrapper wrapper-content">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <!--<h5>用户收藏排行榜</h5>-->
                    <div class="text-center">
                        <div class="btn-group">节假日时间列表，请用英文逗号（,）隔开；</div>
                    </div>
                </div>
                <div class="ibox-content clearfix">
                   <textarea class="form-control" name="dateStr" id="dateStr" rows="10">${holidayList!}</textarea>
                    <hr>
                    <div class="col-xs-offset-4">
                        <button class="btn btn-primary btn-outline col-xs-4" id="doSubmit" type="button">提交编辑</button>
                    </div>
                </div>

            </div>
        </div>
    </div>
</div>

<% } %>
<script type="text/javascript">
    //页面JS调用
    require(['holiday/holiday'], function (holiday) {
        holiday.index();
    });
</script>
